<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    	<title>Vfriend.info Control Panel</title>
        <link href="{$smarty.const.HOST_STATICS}css/backend/index.css" type="text/css" rel="stylesheet" media="all" />	
        <link href="{$smarty.const.HOST_STATICS}css/backend/tag.css" type="text/css" rel="stylesheet" media="all" />
        {if $AppUI->id <= 0}
        	<link href="{$smarty.const.HOST_STATICS}css/backend/login.css" type="text/css" rel="stylesheet" media="all" />
        {else}
        	<link href="{$smarty.const.HOST_STATICS}css/backend/menu.css" type="text/css" rel="stylesheet" media="all" />
        	<link href="{$smarty.const.HOST_STATICS}css/backend/content.css" type="text/css" rel="stylesheet" media="all" />
        {/if}
        {if is_array($arrCSS)}
            {section name=i loop=$arrCSS}
            	<link href="{$arrCSS[i]}?{$smarty.const.JS_UPDATE}" type="text/css" rel="stylesheet" media="all" />
            {/section}
        {/if}
        <script type="text/javascript" language="javascript">
			var HOST_BACKEND	= '{$smarty.const.HOST_BACKEND}';
			var HOST_STATIC 	= '{$smarty.const.HOST_STATICS}';
			var	strMsg			= '{$strMsg}';			
			var	strError		= '{$strError}';
			var strGeneralCode	= '{php}echo session_id();{/php}';		
		</script>
    </head>
    <body>
    	<div class="mainBody">
        	<div class="navHeader">
            	<img src="{$smarty.const.HOST_STATICS}img/backend/header.gif" alt="" border="0" width="468" height="60" />
            </div>
            <div class="navContent">
            	<div class="mainContent">
                	{if $AppUI->id > 0}
                		{include file="common/lang.tpl"}
                    {/if}